package uc108.com.jetpackdemo.room;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "tcy_user")
public class User {
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "uid")
    public int userId;

    @ColumnInfo(name = "username")
    public String userName;

    @ColumnInfo(name = "age")
    public int age;
}
